<%--
  Created by IntelliJ IDEA.
  User: GiantM
  Date: 2018/3/12
  Time: 10:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>零件搜索</title>
    <base href="<%= request.getContextPath()%>/">
    <link href="bootstrap/dist/css/bootstrap.css" rel="stylesheet">
    <style>
        .bigss{
            width: 1200px;
            height: 800px;
        }
        .themes{
            width:1200px;
            height: 50px;
        }
        .searchs{
            width:800px;
            height: 50px;
            margin-left: 250px;
        }
        .mid{
            width:1200px;
            height: 600px;
            margin-top: 10px;
        }
        .tiaojian{
            width:1200px;
            height: 40px;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="bigss">
        <div class="themes">
            <div class="row">
                <div class="col-md-4 col-md-offset-4">
                    <h1>零件搜索</h1>
                </div>
            </div>
        </div>
        <div class="searchs">
            <form class="form-inline" method="post" action="carparts/keyword/1">
                <input type="text" size="50"  name="ci" class="form-control" placeholder="请输入配件名称" id="ci"/>
                <input type="submit" value="搜索一下" id="tijiao" class="btn btn-info">
            </form>
        </div>
        <h1>没找到</h1>
        </div>
    </div>
</div>
</div>
</body>
</html>
<script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
<script src="bootstrap/dist/js/bootstrap.js"></script>
<%--<script>
    $(function () {
        $("#tijiao").click(function () {
            var ci = $(this).parent().find("#ci").val();
            $.post("carparts/keyword/1",{ci:ci},function(data){
                location.href="carparts/keywordll/1/"+ci;
            })
        })
    })
</script>--%>
